<template>
  <el-config-provider v-bind="config">
    <router-view></router-view>
  </el-config-provider>
</template>

<script setup>
import zhCn from "element-plus/dist/locale/zh-cn.mjs";
import time from "@/utils/buildTime.json";
console.log(import.meta.env);
const config = ref({
  // size: "default",
  // zIndex: 3000,
  button: {
    autoInsertSpace: true, //是否在按钮的中文自动添加空格
  },
  message: {
    max: 3, //同时显示的最大的消息提示数量,默认3
  },
  locale: zhCn,
});
console.log(
  `%c 前端更新时间 %c ${time.latestTime} `,
  "background:#3eaf7c ; padding: 1px; border-radius: 3px 0 0 3px;  color: #fff",
  "background:#007AFF ;padding: 1px; color: #fff; font-weight: bold;"
);
</script>
